local jiu_skill = fk.CreateSkill {

  name = "jiu_skill",

  tags = {},

}



jiu_skill:addEffect("cardskill", {
  prompt = "#jiu_skill",
  mod_target_filter = Util.TrueFunc,
  can_use = function(self, player)
    return not player:isProhibited(player, Fk:cloneCard("jiu"))
  end,
  about_to_effect=function (self, room, use)
    if use.from:getMark("@@hezui")>0 then
      return true
    end
  end,
  on_use = function(self, room, use)
    if not use.tos or #use.tos == 0 then
      use:addTarget(use.from)
    end
  end,
  on_effect = function(_, room, effect)
    local to = effect.to
    THB_Utility.setStatusMark(to, "@@hezui")
  end
})

return jiu_skill
